package com.loong.seller.common.backend.param;

import com.loong.common.validator.group.CommonValidate;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * @Description: 店铺状态和店铺id封装的参数类
 * @Author: 刘群
 * @Date: 2020/11/16 14:19
 */
@Data
@ToString
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShopAuditParam {
    /**
     * 店铺id
     */
    @NotNull(message = "店铺id不能为空",groups = {CommonValidate.class})
    private Long shopId;
    /**
     * 店铺审核操作：1通过，2拒绝
     */
    @NotNull(message = "店铺审核操作不能为空",groups = {CommonValidate.class})
    private Integer auditOperation;
}
